using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Abs.Core.Models.Room
{
    public enum RoomField
    {
        RoomId = 0,
        Name
    }//end of public enum RoomField
    public class Room
    {
        public int RoomId { get; set; }
        [Required(ErrorMessage = "RoomName is required.")]
        public string Name { get; set; }
        public IEnumerable<RoomSchedule> RoomSchedules { get; set; }
    }//end of public class Room
}//end of namespace ABS.Models